package com.sex.bull.melancholy.service;

import org.omg.CORBA.PUBLIC_MEMBER;

/**
 * Created by PujiTech on 2017/8/9.
 */
public class Const {

    public static String JSON_MSG = "msg";  //消息
    public static String JSON_DATA = "data"; //数据
    public static String JSON_ISSUCCESS = "isSuccess"; //是否成功
    public static String JSON_CODE = "code"; //编码

    public static String  OLD_VALUR = "oldValue";
    public static String NEW_VALUE = "newValue";
    public static String CUSTOMER_ID = "customerId";
    public static String PROPERTY_IC = "propertyId";



    public static int SUCCESS_CODE = 2000;         //成功代码
    public static String SUCCESS_QUERY_MSG = "查询成功！";
    public static String SUCCESS_ADD_MSG = "新增成功！";
    public static String SUCCESS_UPDATE_MSG = "更新成功！";
    public static String SUCCESS_DELETE_MSG = "删除成功！";
    public static String SUCCESS_LOCK_MSG = "锁定成功！";



    public static int ERR_DICT_CUSTOMER_QUERY_CODE = 4001;
    public static String ERR_DICT_CUSTOMER_QUERY_MSG = "客户属性字典表查询失败！";
    public static int ERR_DICT_CUSTOMER_QUERY_NULL_CODE = 4002;
    public static String ERR_DICT_CUSTOMER_QUERY_NULL_MSG = "客户属性字典表无数据！";
    public static int ERR_DICT_CUSTOMER_ADD_HAS_CODE = 4003;
    public static String ERR_DICT_CUSTOMER_ADD_HAS_MSG = "客户属性字典英文标识已存在：";
    public static int ERR_DICT_CUSTOMER_ADD_CODE = 4004;
    public static String ERR_DICT_CUSTOMER_ADD_MSG = "客户属性字典新增失败！";
    public static int ERR_DICT_CUSTOMER_UPDATE_MORE_CODE = 4005;
    public static String ERR_DICT_CUSTOMER_UPDATE_MORE_MSG = "客户属性字典不包含属性：";
    public static int ERR_DICT_CUSTOMER_UPDATE_CODE = 4006;
    public static String ERR_DICT_CUSTOMER_UPDATE_MSG = "客户属性字典更新失败！";
    public static int ERR_DICT_CUSTOMER_DELETE_CODE = 4007;
    public static String ERR_DICT_CUSTOMER_DELETE_MSG = "客户属性字典删除失败！";
    public static int ERR_DETAIL_CUSTOMER_QUERY_CODE = 4008;
    public static String ERR_DETAIL_CUSTOMER_QUERY_MSG = "客户属性查询失败！";
    public static int ERR_DETAIL_CUSTOMER_QUERY_NULL_CODE = 4009;
    public static String ERR_DETAIL_CUSTOMER_QUERY_NULL_MSG = "客户属性字典表无数据！";
    public static int ERR_DETAIL_CUSTOMER_ADD_NO_DATA_CODE = 4010;
    public static String ERR_DETAIL_CUSTOMER_ADD_NO_DATA_MSG = "不存在属性！";
    public static int ERR_DETAIL_CUSTOMER_ADD_CODE = 4011;
    public static String ERR_DETAIL_CUSTOMER_ADD_MSG = "客户属性添加失败！";
    public static int ERR_DETAIL_CUSTOMER_UPDATE_CODE = 4012;
    public static String ERR_DETAIL_CUSTOMER_UPDATE_MSG = "客户属性更新失败！";
    public static int ERR_DETAIL_CUSTOMER_DELETE_CODE = 4013;
    public static String ERR_DETAIL_CUSTOMER_DELETE_MSG = "客户属性删除失败！";
    public static int ERR_USER_LOGIN_ADD_CODE = 4014;
    public static String ERR_USRE_LOGIN_ADD_MSG = "新增用户名密码失败！";
    public static int ERR_USER_LOGIN_LOCK_CODE = 4015;
    public static String ERR_USER_LOGIN_LOCK_MSG = "锁定用户密码失败！";
    public static int ERR_USER_LOGIN_DELETE_CODE = 4016;
    public static String ERR_USER_LOGIN_DELETE_MSG = "删除用户密码失败！";
    public static int ERR_USER_LOGIN_PWD_CODE = 4017;
    public static String ERR_USER_LOGIN_PWD_MSG = "用户密码错误！";
    public static int ERR_USER_LOGIN_UPDATE_CODE = 4018;
    public static String ERR_USER_LOGIN_UPDATE_MSG = "用户密码更新失败！";
    public static int ERR_USER_LOGIN_QUERY_CODE = 4019;
    public static String ERR_USER_LOGIN_QUERY_MSG = "用户密码查询失败！";
    public static int ERR_USER_LOGIN_QUERY_LOCK_CODE = 4020;
    public static String ERR_USER_LOGIN_QUERY_LOCK_MSG = "用户被锁定！";

    public static int ERR_NOT_JSON_CODE = 5001;
    public static String ERR_NOT_JSON_MSG = "非JSON数据！";

}
